<html>
 <head>
  <link href="./leetcode-problem.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div class="question_difficulty">
   难度：Easy
  </div>
  <div>
   <h1 class="question_title">
    176. Second Highest Salary
   </h1>
   <p>
    Write a SQL query to get the second highest salary from the
    <code>
     Employee
    </code>
    table.
   </p>
   <pre>
+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+
</pre>
   <p>
    For example, given the above Employee table, the query should return
    <code>
     200
    </code>
    as the second highest salary. If there is no second highest salary, then the query should return
    <code>
     null
    </code>
    .
   </p>
   <pre>
+---------------------+
| SecondHighestSalary |
+---------------------+
| 200                 |
+---------------------+
</pre>
  </div>
  <div>
   <h1 class="question_title">
    176. 第二高的薪水
   </h1>
   <p>
    编写一个 SQL 查询，获取
    <code>
     Employee
    </code>
    &nbsp;表中第二高的薪水（Salary）&nbsp;。
   </p>
   <pre>+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+
</pre>
   <p>
    例如上述&nbsp;
    <code>
     Employee
    </code>
    &nbsp;表，SQL查询应该返回&nbsp;
    <code>
     200
    </code>
    作为第二高的薪水。如果不存在第二高的薪水，那么查询应返回
    <code>
     null
    </code>
    。
   </p>
   <pre>+---------------------+
| SecondHighestSalary |
+---------------------+
| 200                 |
+---------------------+
</pre>
  </div>
 </body>
</html>